package www.woniuxy.com.class112.service.impl;


import org.springframework.stereotype.Service;
//import www.woniuxy.com.class112.dao.PermissionMapper;;
import www.woniuxy.com.class112.dao.PermissionMapper;
import www.woniuxy.com.class112.service.PermissionService;

import javax.annotation.Resource;
import java.util.List;
@Service
public class PermissionServiceImpl implements PermissionService {
    @Resource
    private PermissionMapper permissionMapper;
    @Override
    public List<String> selectPermissionsByUserId(Integer userId) {
        return permissionMapper.selectPermissionsByUserId(userId);
    }
}
